package com.ruibang.glass.produce.mapper;

import com.ruibang.glass.produce.domain.req.GlassFluorescenceReq;
import com.ruibang.glass.produce.entity.MainIngredientsRecord;
import com.teaming.cloud.framework2.autoconfigure.mybatisplus.mapper.CommonMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.util.List;

/**
 * @Author: songJinKang
 * @CreateTime: 2024-03-11  14:27
 * @Description: TODO
 * @Version: 1.0
 */

@Mapper
public interface MainIngredientsRecordMapper extends CommonMapper<MainIngredientsRecord> {
    List<MainIngredientsRecord> trendChart(@Param("trendChartReq") GlassFluorescenceReq glassFluorescenceReq);

    List<MainIngredientsRecord> getIngredientInfoByDate(@Param("date") LocalDate date);
}
